re = new RegExp('(<\\w+.*?>|[^=!:\'"/]|^|)((?:https?:\/\/)|(?:irc:\/\/)|(?:www\.){4})([-\\w]+(?:\.[-\\w]+)*(?::\\d+)?(?:/(?:(?:[~\\w\\+#%-]|(?:[,.;@:][^\\s$]))+)?)*(?:\\?[\\w\\+%&=.;:-]+)?(?:\#[\\w\-\.]*)?)([?()!).,\\s]|<|$)', 'gi');
ret = ret.replace(re, '$1' + this.anchor_tag('$2$3') + '$4');
//ëµæ£ùpURLé≡î│é╔û▀é╖
re = new RegExp('tkavoidurl://', 'g');
ret = ret.replace(re, 'http://');
ret = ret.replace(/<a href="www/g, '<a href="http:\/\/www');